import { _decorator, Component  } from 'cc';
import axios from "./package/axios/axios.min.js";
import { getXXDetail } from './api';
const { ccclass, property } = _decorator;
import StorageUtil from './utils/StorageUtil';
@ccclass('Test')
export class Test extends Component {
    async start() {
        axios.get('https://api.vvhan.com/api/love?type=json').then(data => {
            console.log('data', data.data)
        })
        const auth = { "uid": 1, "ticket": "6a84030a94e1d3e36fa74796f748cb0d" }
        StorageUtil.set('auth', auth);
    }

    update(deltaTime: number) {

    }
}


